package com.skyjoo.search.test;

import com.skyjoo.search.lucene.Item;

public class Car implements Item {

    String id;
    String name;

    public Car(String id, String name) {
        this.id = id;
        this.name = name;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    @Override
    public String getIdentity() {
        return this.id;
    }

    @Override
    public long getModifyTime() {
        // TODO Auto-generated method stub
        return 0;
    }
}
